home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / msqllib / gcc / include / inline / msql.h
C/C++ Source or Header  |  1999-01-01  |  6KB  |  179 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_MSQL_H
  4. #define _INLINE_MSQL_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef MSQL_BASE_NAME
  11. #define MSQL_BASE_NAME MsqlBase
  12. #endif /* !MSQL_BASE_NAME */
  13.  
  14. #define MsqlAddMHookA(hook, taglist) \
  15.     LP2(0x11a, BOOL, MsqlAddMHookA, struct Hook *, hook, a0, struct TagList *, taglist, a1, \
  16.     , MSQL_BASE_NAME)
  17.  
  18. #define MsqlAllocConnection() \
  19.     LP0(0x24, struct MsqlConnection *, MsqlAllocConnection, \
  20.     , MSQL_BASE_NAME)
  21.  
  22. #define MsqlClose(co) \
  23.     LP1NR(0x72, MsqlClose, struct MsqlConnection *, co, a1, \
  24.     , MSQL_BASE_NAME)
  25.  
  26. #define MsqlConnect(co, host) \
  27.     LP2(0x36, struct MsqlConnection *, MsqlConnect, struct MsqlConnection *, co, a1, char *, host, a0, \
  28.     , MSQL_BASE_NAME)
  29.  
  30. #define MsqlCopyDB(mc, fdb, tdb) \
  31.     LP3(0xd8, int, MsqlCopyDB, struct MsqlConnection *, mc, a0, char *, fdb, a1, char *, tdb, a2, \
  32.     , MSQL_BASE_NAME)
  33.  
  34. #define MsqlCreateDB(xx, yy) \
  35.     LP2(0x48, int, MsqlCreateDB, struct MsqlConnection *, xx, a1, char *, yy, a0, \
  36.     , MSQL_BASE_NAME)
  37.  
  38. #define MsqlDataSeek(result, pos) \
  39.     LP2NR(0x78, MsqlDataSeek, m_result *, result, a0, int, pos, d0, \
  40.     , MSQL_BASE_NAME)
  41.  
  42. #define MsqlDateOffset(date, doff, moff, yoff) \
  43.     LP4(0x108, char *, MsqlDateOffset, char *, date, a0, int, doff, d0, int, moff, d1, int, yoff, d2, \
  44.     , MSQL_BASE_NAME)
  45.  
  46. #define MsqlDateToUnixTime(date) \
  47.     LP1(0xf6, time_t, MsqlDateToUnixTime, char *, date, a0, \
  48.     , MSQL_BASE_NAME)
  49.  
  50. #define MsqlDiffDates(date1, date2) \
  51.     LP2(0x114, int, MsqlDiffDates, char *, date1, a0, char *, date2, a1, \
  52.     , MSQL_BASE_NAME)
  53.  
  54. #define MsqlDiffTimes(time1, time2) \
  55.     LP2(0x10e, char *, MsqlDiffTimes, char *, time1, a0, char *, time2, a1, \
  56.     , MSQL_BASE_NAME)
  57.  
  58. #define MsqlDropDB(xx, yy) \
  59.     LP2(0x4e, int, MsqlDropDB, struct MsqlConnection *, xx, a1, char *, yy, a0, \
  60.     , MSQL_BASE_NAME)
  61.  
  62. #define MsqlFetchField(result) \
  63.     LP1(0x90, m_field    *, MsqlFetchField, m_result *, result, a0, \
  64.     , MSQL_BASE_NAME)
  65.  
  66. #define MsqlFetchRow(result) \
  67.     LP1(0x8a, m_row, MsqlFetchRow, m_result *, result, a0, \
  68.     , MSQL_BASE_NAME)
  69.  
  70. #define MsqlFieldSeek(result, pos) \
  71.     LP2NR(0x7e, MsqlFieldSeek, m_result *, result, a0, int, pos, d0, \
  72.     , MSQL_BASE_NAME)
  73.  
  74. #define MsqlFreeConnection(co) \
  75.     LP1NR(0x2a, MsqlFreeConnection, struct MsqlConnection *, co, a0, \
  76.     , MSQL_BASE_NAME)
  77.  
  78. #define MsqlFreeResult(result) \
  79.     LP1NR(0x84, MsqlFreeResult, m_result *, result, a0, \
  80.     , MSQL_BASE_NAME)
  81.  
  82. #define MsqlGetCharConf(co, xx, yy) \
  83.     LP3(0xcc, char *, MsqlGetCharConf, struct MsqlConnection *, co, a1, char *, xx, a0, char *, yy, a2, \
  84.     , MSQL_BASE_NAME)
  85.  
  86. #define MsqlGetErrMsg(co) \
  87.     LP1(0x30, char *, MsqlGetErrMsg, struct MsqlConnection *, co, a0, \
  88.     , MSQL_BASE_NAME)
  89.  
  90. #define MsqlGetHostInfo(xx) \
  91.     LP1(0x6c, char *, MsqlGetHostInfo, struct MsqlConnection *, xx, a0, \
  92.     , MSQL_BASE_NAME)
  93.  
  94. #define MsqlGetIntConf(co, xx, yy) \
  95.     LP3(0xc6, int, MsqlGetIntConf, struct MsqlConnection *, co, a1, char *, xx, a0, char *, yy, a2, \
  96.     , MSQL_BASE_NAME)
  97.  
  98. #define MsqlGetProtoInfo(co) \
  99.     LP1(0x5a, int, MsqlGetProtoInfo, struct MsqlConnection *, co, a0, \
  100.     , MSQL_BASE_NAME)
  101.  
  102. #define MsqlGetSequenceInfo(mc, table) \
  103.     LP2(0xf0, m_seq *, MsqlGetSequenceInfo, struct MsqlConnection *, mc, a0, char *, table, a1, \
  104.     , MSQL_BASE_NAME)
  105.  
  106. #define MsqlGetServerInfo(xx) \
  107.     LP1(0x66, char *, MsqlGetServerInfo, struct MsqlConnection *, xx, a0, \
  108.     , MSQL_BASE_NAME)
  109.  
  110. #define MsqlGetServerStats(mc, fd) \
  111.     LP1(0xd2, int, MsqlGetServerStats, struct MsqlConnection *, mc, a0, BPTR, fd, a1, \
  112.     , MSQL_BASE_NAME)
  113.  
  114. #define MsqlListDBs(co) \
  115.     LP1(0x96, m_result *, MsqlListDBs, struct MsqlConnection *, co, a0, \
  116.     , MSQL_BASE_NAME)
  117.  
  118. #define MsqlListFields(co, table) \
  119.     LP2(0xa2, m_result *, MsqlListFields, struct MsqlConnection *, co, a0, char *, table, a1, \
  120.     , MSQL_BASE_NAME)
  121.  
  122. #define MsqlListIndex(co, str, str_) \
  123.     LP3(0xa8, m_result *, MsqlListIndex, struct MsqlConnection *, co, a2, char *, str, a0, char *, str_, a1, \
  124.     , MSQL_BASE_NAME)
  125.  
  126. #define MsqlListTables(co) \
  127.     LP1(0x9c, m_result *, MsqlListTables, struct MsqlConnection *, co, a0, \
  128.     , MSQL_BASE_NAME)
  129.  
  130. #define MsqlLoadConfigFile(co, yy) \
  131.     LP2(0xb4, int, MsqlLoadConfigFile, struct MsqlConnection *, co, a1, char *, yy, a0, \
  132.     , MSQL_BASE_NAME)
  133.  
  134. #define MsqlMoveDB(mc, fdb, tdb) \
  135.     LP3(0xde, int, MsqlMoveDB, struct MsqlConnection *, mc, a0, char *, fdb, a1, char *, tdb, a2, \
  136.     , MSQL_BASE_NAME)
  137.  
  138. #define MsqlQuery(co, query) \
  139.     LP2(0x42, int, MsqlQuery, struct MsqlConnection *, co, a1, char *, query, a0, \
  140.     , MSQL_BASE_NAME)
  141.  
  142. #define MsqlReloadAcls(xx) \
  143.     LP1(0x60, int, MsqlReloadAcls, struct MsqlConnection *, xx, a0, \
  144.     , MSQL_BASE_NAME)
  145.  
  146. #define MsqlRemMHook(hook) \
  147.     LP1NR(0x120, MsqlRemMHook, struct Hook *, hook, a0, \
  148.     , MSQL_BASE_NAME)
  149.  
  150. #define MsqlSelectDB(co, dnName) \
  151.     LP2(0x3c, int, MsqlSelectDB, struct MsqlConnection *, co, a1, char *, dnName, a0, \
  152.     , MSQL_BASE_NAME)
  153.  
  154. #define MsqlShutdown(xx) \
  155.     LP1(0x54, int, MsqlShutdown, struct MsqlConnection *, xx, a0, \
  156.     , MSQL_BASE_NAME)
  157.  
  158. #define MsqlStoreResult(co) \
  159.     LP1(0xae, m_result *, MsqlStoreResult, struct MsqlConnection *, co, a0, \
  160.     , MSQL_BASE_NAME)
  161.  
  162. #define MsqlSumTimes(time1, time2) \
  163.     LP2(0x102, char *, MsqlSumTimes, char *, time1, a0, char *, time2, a1, \
  164.     , MSQL_BASE_NAME)
  165.  
  166. #define MsqlTimeToUnixTime(date) \
  167.     LP1(0xfc, time_t, MsqlTimeToUnixTime, char *, date, a0, \
  168.     , MSQL_BASE_NAME)
  169.  
  170. #define MsqlUnixTimeToDate(time) \
  171.     LP1(0xe4, char *, MsqlUnixTimeToDate, time_t, time, d0, \
  172.     , MSQL_BASE_NAME)
  173.  
  174. #define MsqlUnixTimeToTime(time) \
  175.     LP1(0xea, char *, MsqlUnixTimeToTime, time_t, time, d0, \
  176.     , MSQL_BASE_NAME)
  177.  
  178. #endif /* !_INLINE_MSQL_H */
  179.